#include "status.h"



int main(){
    std::shared_ptr<Monster> monster = std::make_shared<Monster>(500);
    std::cout << "怪物刚出生，处于狂暴状态，"<< monster->getLife() << "点血。" << std::endl; 
    monster->attacted(20);
    monster->attacted(100);
    monster->attacted(200);
    monster->attacted(170);
    monster->attacted(100);
    return 0;
}